package a07_InterfaceAbstract;

/**
 * @Author quan
 * @Description 子类：教练
 * @Date 2023/1/29 0:55
 */
public abstract class Coach extends Person{
    public Coach() {
    }

    public Coach(String name, int age) {
        super(name, age);
    }

    //教练教的东西不同,一个是乒乓球，一个是篮球，所以定义为抽象类
    public abstract void teach();
}
